package com.shambles.manage2.tkmapper.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "photo")
public class Photo implements Serializable {
    @Column(name = "campus_id")
    private Integer campusId;

    @Column(name = "open_id")
    private String openId;

    @Column(name = "image_url")
    private String imageUrl;

    @Column(name = "create_time")
    private Date createTime;

    /**
     * 1预约检疫图片，2出场检疫图片
     */
    @Column(name = "classification")
    private Integer classification;

    private static final long serialVersionUID = 1L;

    /**
     * @return campus_id
     */
    public Integer getCampusId() {
        return campusId;
    }

    /**
     * @param campusId
     */
    public void setCampusId(Integer campusId) {
        this.campusId = campusId;
    }

    /**
     * @return open_id
     */
    public String getOpenId() {
        return openId;
    }

    /**
     * @param openId
     */
    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    /**
     * @return image_url
     */
    public String getImageUrl() {
        return imageUrl;
    }

    /**
     * @param imageUrl
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取1预约检疫图片，2出场检疫图片
     *
     * @return classification - 1预约检疫图片，2出场检疫图片
     */
    public Integer getClassification() {
        return classification;
    }

    /**
     * 设置1预约检疫图片，2出场检疫图片
     *
     * @param classification 1预约检疫图片，2出场检疫图片
     */
    public void setClassification(Integer classification) {
        this.classification = classification;
    }
}